<template>
  <div id="app">
    <!-- <div id="nav">
      <router-link to="/">Home</router-link> |
      <router-link to="/about">About</router-link>
    </div> -->
    <keep-alive>
      <router-view v-if="$route.meta.keepAlive"></router-view>
    </keep-alive>
    <router-view v-if="!$route.meta.keepAlive"></router-view> 
  </div>
</template>
<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #444;
}

#nav a {
  font-weight: bold;
  color: #444;
}
a{
  text-decoration: none
}
#nav a.router-link-exact-active {
  color: #42b983;
}
*{
  margin: 0;
  padding: 0;
}
body{
  background-color: rgba(235,235,235,1);
}

</style>
